package com.ming_za.od_updater_sdk.event;

import com.ming_za.od_updater_sdk.obj.Res;

/**
 * 更新出错事件
 */
public class UpdateErrorEvent extends UpdateEvent{

    private final Throwable throwable;

    public UpdateErrorEvent(Res res, int version, Throwable throwable) {
        super(res, version);
        this.throwable = throwable;
    }

    public Throwable getThrowable() {
        return throwable;
    }

}
